package com.woniu.his.sms.client;

import com.woniu.his.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @version: java version 1.8
 * @Author: ZJH
 * @description:
 * @date: 2022-12-02 14:34
 */
@FeignClient(contextId = "SmsPermissionClient",name = "sms",path = "sms")
public interface SmsPermissionClient {

    /**
     * 通过员工id查询权限url
     * @param staffId
     * @return
     */
    @GetMapping("getUrl")
    Result<List<String>> getUrl(@RequestParam("staffId") Long staffId);
}
